<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>五彩导航栏</title>
    <style>
        a {
            display: inline-block;
            width: 120px;
            height: 58px;
            text-decoration: none;
            text-align: center;
            font: 14px/54px '宋体';    
            color: #fff;      
        }
        #x1 {
            background: url(pic/bg1.png) no-repeat center

        }
        #x1:hover {
            background: url(pic/bg2.png) no-repeat
        }
        #x2 {
            background: url(pic/bg2.png) no-repeat center
        }
        #x2:hover {
            background: url(pic/bg3.png) no-repeat
        }
    </style>
</head>
<body>
    <a href="#" id="x1">五彩导航</a>
    <a href="#" id="x2">五彩导航</a>
    <a href="#" id="x3">五彩导航</a>
    <a href="#" id="x4">五彩导航</a>
    <a href="#" id="x5">五彩导航</a>
</body>
</html>